import Layout from '@/layout'

const goodsManage = [{
    path: '/goodsManage',
    component: Layout,
    // redirect: '/example/list',
    name: '/goodsManage',
    meta: { title: '商品管理', icon: 'guide' },
    children: [{
      path: '/goodsManage/goodslibrary',
      component: () => import('@/views/goodsManage/goodslibrary'),
      name: 'goodslibrary',
      meta: { title: '商品库' }
    },{
        path: '/goodsManage/upGoods',
        component: () => import('@/views/goodsManage/upGoods/index'),
        name: 'upGoods',
        meta: { title: '上架商品库' }
    },{
        path: '/goodsManage/downGoods',
        component: () => import('@/views/goodsManage/downGoods/index'),
        name: 'downGoods',
        meta: { title: '下架商品库' }
    }]
}]

export default goodsManage
